VS 2008 Send A Zip File Through Ftp?
Jun 20, 2011I have a .zip file on my C: drive. I want to send this file to a ftp site through vb.net code. I have no idea to do this.
View 4 RepliesI have a .zip file on my C: drive. I want to send this file to a ftp site through vb.net code. I have no idea to do this.
View 4 RepliesHere at work we send straightup text documents to a Genicom, continuous feed, dot-matrix printer and we use the following code in Visual Fox Pro:
RUN COPY *.353+*.360+*.362+*.354+*.825+*.MSL+*.XMS+*.PQR+*.PJS+*.AJS lpt2
I'm having trouble how to accomplish the same thing: simply sending the files to the print queue.
I'm just new to the forums, so I hope you's don't mind me jumping in and asking a question Currently I am pulling out rows from my Datagridview and sending all rows to a .csv file. I now need to retrieve information from two different datatables and put them into the same .csv file I am using. Below is how I am currently retrieving the first part of my .csv file. The second part will below the rows supplied from the datagrid. Hope somebody could advise me on how i could go about or, or have support links.
[Code]...
I am Really Interested in Learning How to Code in Vb With Client and Servers.What should I use Tcp/Ip,Winsock? any Good Tutorials or Examples. How do I send a Simple Text file to A Client from the Server?
View 1 Replies[Code]....
Now as you can see it is sending the textbox1 text and then pressing enter then sending textbox2 text! Theres quite a few problems in that but before i discuss note: This code is in a Timer. Problem #1: It does not send the keys fully correct all the time because its trying to send them all at once! So i want it to send them 1 letter after the other with 200 ms sleep in them! Problem #2: The sleep is not working: The reason i know is because even after it did the first textbox1 text it didnt wait that 2000 ms!
I have a filter that is used to populate a grid view and the url will conain: /example/grid?value1=1&value2=2
It will then have a link to page 2, which allows them to edit something.I then want them to click a link that will send them back to the gridview under the same parameters of: /example/grid?value1=1&value2=2
Is this possible? How do I hold on and fill in the URL values so it knows how to refill the grid view accordingly?
I have a problem.. every program i make in VB.net 2008 express wont start on my friends PC or any other except for mine laptop and mine PC... Instead, they get the "Send/Dont send" error...
View 13 RepliesThis is what I am trying to do. I need to create some data inside my app and send it to another app as a file. But this 'file' should never be written to the hard drive. It will only ever exist in RAM.
View 17 RepliesI have read the file I/O tutorial and I learned alot. My problem is I need to send several different txt fields at one time and each into there own file. This was simple in vb6 using something like below, I have no idea how to do this with .net. Also on start up I will need to read this information back into text fields.
Code:
Private Sub Command1_Click()
'Save command1 name to file
Open App.Path & "subD.cab" For Output As #1
[code]....
I'm currently working on a script that uses an open file dialog to select a file and then send it to another folder.The open file dialog works fine, and I can store the filename/location fine in a variable. What I want to know is how to copy a user-defined file to a set directory. All of the stuff I've found requires you to know what the filename of the thing you're moving is.
View 3 RepliesI'm looking for an example of how to send a file over TCP, I've seen a few but none seem to work/seem to be too complex for what I need. It also needs to be reverse connecting preferably.
It just needs to be.
Person One:
IP: 123.456.0.1
Open Port: 501
Person Two:
IP 654:321:0.1
Closed Ports.
Person Two Sends Picture To Person One. I've got it working fine with just strings, but I can't for the life of me make it send a file. With the one working example I did find it only sent the first 9kb of any files. Can anyone provide a basic example?
I'm new in this. I have made a simple Keylogger, but i wanna know how to send the resulting text file to an specific IP in Local Network. No encryption, just simply send file.
View 4 RepliesI need to send some data from a SQL DB Server on an internal network to an external web server.I was hoping to accomplish this by writing a VB.NET app that is invoked once per day that sends about 1 MB of data to a PHP script on the web server, where it is deposited in a database.
What is a good method to send data to a PHP script from a .NET app?
How to send a file to any website in vb.net windows application.
View 2 RepliesVS 2008 Send a file from one computer to another???
View 1 RepliesI just want to know is it possible to send a file to COM port and receive a file from COM port?
View 1 Replieshow to send file using winsock in vb.net and i don't found
View 4 Repliesthere is a possibility to send Files to a printer which is connected to a virtual LPTx, e.g. "copy filename lpt1". Is it possible to make this WITHOUT a LPTx? A solution in vbScript would be great, but VB is also OK.
View 1 RepliesHi friends, I am working on an application in which I have to send a data of a text file to a PLC machine. Now the convention is that
send start of file (0x02)
send data bytes (file data)
send end of file (0x03)
how to send the STX and ETX before and after the file data respectively. The PLC should receive them as 02 and 03 i.e. in their Hex values. If there is any ready function like vbCrLf for STX and ETX
i looking for a way to upload a image or file and a value too using the vb.net so far i found this that can send the image i have tested and is fine but i cant understand how put a value to be returned by this:$_POST["value"] i have other code that can send the value by post and works fine but i need change this code to send post values too
View 1 Replies[code].....
View 1 RepliesI want to develop an app thru vb.net to attach and send a doc file to my email. Lets say in my Temp folder I have 2 doc files. I want the program to attach those 2 files and send it to my email. Is this possible to write an app in VB?
View 3 RepliesI am using this code below to delete files. Doing this permanintly deletes them, is it poseble to send them to the Resicle Bin instead?
System.IO.File.Move(OriginalImagePath, NewImagePath)
Hendri Bissolati noviceprogrammer@vodamail.co.za
I ahve tried using the
My.Computer.Network.UploadFile("C:UsersPhillipDesktop est.txt", "http://10.0.0.2/c:/text.txt", "my username, "mypassword")
but it does not work...whats the proper format for entering a location to a computer over the network?Also... whats a way to send a file to a computer over the internet such as my friends computer... The reason I am doing this is because I plan to make some programs that run based on text files and a basic example of this is a chat program... but I do plan for other things as well...
EDIT:Used this
My.Computer.Network.UploadFile("C:UsersPhillipDesktop est.txt", "\PHILIPADAMS-PCUSERSPhilip Adams ext.txt", "myusername", "mypass")
and it worked... now how can I send over the internet... Also is there another way i can send over the network like using the IP instead of computer name?Also how do I send it to other computers?
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim FileToCopy As String
Dim NewCopy As String
FileToCopy = "C:Users????DesktopfileName"
NewCopy = "C:Users???Desktop
ewfileName"
[Code]...
How to send a file via bluetooth through my program? I have a text file that I make it by my program and i want to send it to mobile via bluetooth and also I want my program gives me a message in these 2 cases?
1- In case if there's no bluetooth in computer
2- In case if it dose not find bluetooth device around
I am trying to send PDF file using itextsharp, the email sends fine but with out the pdf attachment.
Here is my code :
Dim pdfFile As MemoryStream = New MemoryStream()
Dim d As Document = New Document(PageSize.A4, 60, 60, 40, 40)
Dim w As PdfWriter = PdfWriter.GetInstance(d, pdfFile)
w.Open()
w.Add(New Paragraph("do foo something "))
[Code] .....
I have written the following for sending sms's from a txt file through a http web service.The code works and the first 2 messages in the text file are sent , but I always get operation timed out when it trys to send the 3rd sms in the text file.If any one could have a look at my code and give me some sort of idea why it stops after the 2nd sms that would really be great
Dim objFS As New FileStream("c:datafile.txt", FileMode.Open, FileAccess.Read)
Dim objSR As New StreamReader(objFS)
Dim strline, fileline() As String
[Code].....
sending a hex file through serial port using vb.net? and i m not really sure the difference between sending data and sending a file, seems majority of the topics on the forum is about sending data via serial port.
View 2 RepliesMy application generate reports as rtf-files. I want to send this file by email, but NOT as attachment, but inside the emailbody. And the receiver must see the formatted text. How can I do that?
View 2 Replies