Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




File Transfer


Hi!, Can anyone help me on how to transfer file
from PocketPC to DesktopPC and vice-versa. For example, I want to send a file "Data.txt" to DesktopPC. I know about using ActiveSync to do it, but is there any other way using program written in eVB to initiate the file transfer?
Thanks for HELP!




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
File Transfer - Saving File To Disk
Heres the code for the recieving end of the file.


Code:
Private Sub ws4_DataArrival(ByVal bytesTotal As Long)
ws4.GetData sUploaderRec
Debug.Print sUploaderRec
If InStr(sUploaderRec, "(^file^)") Then
BytePos = BytePos + (bytesTotal - 8)
ifreefile = FreeFile
Open UploadFileName For Binary Access Write As #ifreefile
Put #ifreefile, BytePos, Replace(sUploaderRec, "(^file^)", "")
Close #ifreefile
ws4.SendData "(file)rec"
Debug.Print "(file)rec"
End If
If InStr(sUploaderRec, "(fileEOF)") Then

End If
If InStr(sUploaderRec, "(file)") Then
UploadFileName = Replace(sUploaderRec, "(file)", "")
ws4.SendData "(file)size"
End If
If InStr(sUploaderRec, "(file)size:") Then
UploadFileSize = Replace(sUploaderRec, "(file)size:", "")
Debug.Print "file size noted : " & UploadFileSize
ifreefile = FreeFile
Open UploadFileName For Binary Access Write As #ifreefile
Put #ifreefile, UploadFileSize, ""
Close #ifreefile
BytePos = 0
ws4.SendData "(file)begin"
Debug.Print "Sent: (file)begin"

End If
End Sub

It has really lost me, help would be apprieciated.

Thanks

DLL File (ActiveX) For File Transfer (FTP) Using Winsock
Dear Friends,
I´m having a problem to create a dll file (ActiveX) for send a specific folder files.
But in actual fase, i´m just doing some tests and I'm already having some problems...
The Code of VB file is:

Code:
Option Explicit
Dim user As String
Dim webdata As String
Private strUser As String
Private strPass As String
Private sRetorno As String
Private sTeste As String
Private sCommand As String
Private strRetorno As String
Private SocketConnection As MSWinsockLib.Winsock
Private sckDados As MSWinsockLib.Winsock

Public Property Get Retorno() As String
    Retorno = sRetorno
End Property

Public Property Let Command(sNew As String)
    sCommand = sNew & Chr(10)
End Property

Public Property Let User(sNew As String)
    On Error Resume Next
    strUser = sNew & Chr(10)
    'MsgBox "Wellcome " & strUser
    'MsgBox "State of Connection " & SocketConnection.State
    If SocketConnection.State = 7 Then ' 6 = connected
        SocketConnection.SendData "USER " & strUser
        SocketConnection.GetData sRetorno
        'If Mid(strRetorno, 1, 3) <> "331" Then
        ' MsgBox "error conecting User " & strRetorno
        'End If
    End If
End Property

Public Property Let Pass(sNew As String)
    strPass = sNew & Chr(10)
    'MsgBox strPass
    If SocketConnection.State = 7 Then
        SocketConnection.SendData "PASS " & strPass
        SocketConnection.GetData sRetorno
    End If
End Property

Public Sub sendcommands()
    Dim sCodRetorno As String
    Dim intVezes As Integer
    
    On Error GoTo ersendcommand 'Resume Next
    sCommand = "CWD /testeftp" & Chr(10)
    'MsgBox sCommand
    SocketConnection.SendData sCommand
    SocketConnection.GetData sRetorno
    'MsgBox "Folder: " & sCodRetorno
   
   
Exit Sub

ersendcommand:
    MsgBox Err.Description, vbOKOnly, "Sending Commands"
End Sub

Private Sub Class_Initialize()
    Call Conectar
End Sub

Private Sub Class_Terminate()
    SocketConnection.Close
End Sub

Private Sub Conectar()
    On Error GoTo erConectar 'Resume Next
    Set SocketConnection = New MSWinsockLib.Winsock
    SocketConnection.Connect "10.0.16.2", 21
    If SocketConnection.State <> 6 Then
        Err.Raise 999, "DLL of connection ", "Error on connection" & SocketConnection.State
    End If
    MsgBox "Connection done successfully!", vbOKOnly
    SocketConnection.GetData sRetorno, vbString, 1000
    

Exit Sub

erConectar:
    MsgBox Err.Description, vbOKOnly, "Conectando"

End Sub


and the ASP test file code is:

Code:

<HTML>

<HEAD>
<TITLE></TITLE>

</HEAD>

<BODY bgcolor="#ffffff">

<FORM name="frm1" action="upload.asp" METHOD="POST" ENCTYPE="multipart/form-data">
<INPUT type="File" name="file1" ></INPUT>
<input type="submit" name="cmdEnviar" value="Enviar">
</FORM>


</BODY>

</HTML>

<script type="text/javascript">
var FTPTeste, FTPRetorno, saida;

FTPTeste = new ActiveXObject('FTPTransmitir.Connection');

FTPTeste.User = "Administrator";
FTPTeste.Pass = "*****"
FTPTeste.sendcommands();

saida = '' + FTPTeste.Retorno;

alert('' + saida);

 </script>



I don´t know what is happend... The commands just are being accepted by the system if I put a msgbox after then...
I commented the msgbox of this code, if you uncomment, will see this problem...

sorry about the CONFUSE code... I was doing A LOT of tests and this post is because I don't know what other thing I can try to do...

Thanks to all!
Brigatti.

Help With File Transfer
Hello , i have a working chat application using passwords to log on and such but i was wondering how can i make it so i can send files , in a seprate window


Thanks


Travis

Please reply

File Transfer
Hi there,
Does any1 know how to send file btween a server and client application:
Eg A client can connected to the server by winsock

Then when the server want to send file, he can open directory to search the file he wan to send and then send to the client.

Then the client can recevied it and he also can search the directory for him to save the recevied file.

Another thing is the server can send as many files whenever he like!!!

Please Help With Udp File Transfer
im crying

I must develop a UDP File Transfer. I have include a check for incoming packs. Works fine.. all packs receive the client. But i have a big problem. (please see the link - this is the pic was i transfer, 1 original, test 1 = first test etc.) Whats the problem? Can this a checksum (hash) problem?? If yes how i can make a checksum on a 4096 byte pack? I test the SHA-1 but this can only use with 64 byte strings

Please help me guys!

Sample Pics:

udp.jpg

File Transfer
does anybody have any programs with a client and server, where the person who is the server side opens the program, and the client side connects to their IP, and the client side can view files and upload/download files?

File Transfer With UDP
Thanks for your help! I know TCP is a better protocol for file transfer but for my project i must use udp I send here the code without any checks.. thats work but the problem is the lost packets.. you can help and at your idea?

'Server Code

Private Const DOWNLOADSTART = "d1"
Private Const DOWNLOAD = "d2"
Private Const DOWNLOADENDE = "d3"
Private Const ECHO = "e1"

Private DateiNr As Integer
Private Warten As Boolean


Private Sub Form_Load()

Winsock1.RemoteHost = "127.0.0.1"
Winsock1.RemotePort = 10102
Winsock1.Bind 10101

Picture1.Picture = LoadPicture("lobbyzpos.jpg")
End Sub


Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)

Dim Daten As String
Dim Befehl As String
Dim Temp As String
Dim DownloadSchritt As Long

Winsock1.GetData Daten

Befehl = Left(Daten, 2)
Daten = Mid(Daten, 3)

If Right(App.Path, 1) = "" Then
Path = App.Path & ""
Else
Path = App.Path & ""
End If

Select Case Befehl
Case DOWNLOADSTART
DateiNr = FreeFile
Open Path & Daten For Binary Access Read As DateiNr
SendData DOWNLOADSTART, LOF(DateiNr)
Sleep (0.1)
Do While Not EOF(DateiNr)
DownloadSchritt = 4092
If DownloadSchritt > LOF(DateiNr) - _
Loc(DateiNr) Then
DownloadSchritt = LOF(DateiNr) - _
Loc(DateiNr)
End If
If DownloadSchritt = 0 Then Exit Do
Temp = Space(DownloadSchritt)
Get #DateiNr, , Temp
SendData DOWNLOAD, Temp
Sleep (0.1)
Loop
Close DateiNr
SendData DOWNLOADENDE
End Select
End Sub

Sub Sleep(Ratio As String)
Start = Timer
Do While Timer < Start + Ratio
DoEvents
Loop
End Sub

Private Sub SendData(ByVal Befehl As String, Optional _
ByVal Text As String)

On Error Resume Next
Winsock1.SendData Befehl & Text
End Sub



and here the Client code:

'Client

Dim Bild(0 To 1) As String

Dim Dat As Boolean

Private Const DOWNLOADSTART = "d1"
Private Const DOWNLOAD = "d2"
Private Const DOWNLOADENDE = "d3"
Private Const ECHO = "e1"

Private DateiNr As Integer

Sub Sleep(Ratio As String)
Start = Timer
Do While Timer < Start + Ratio
DoEvents
Loop
End Sub

Private Sub Command1_Click()
If Right(App.Path, 1) = "" Then
Path = App.Path & "lobbyzpos.jpg"
Else
Path = App.Path & "lobbyzpos.jpg"
End If

DateiNr = FreeFile

Open Path For Binary Access Write As #DateiNr
SendData DOWNLOADSTART, "lobbyzpos.jpg"
End Sub

Private Sub Command2_Click()
Winsock1.Close
Winsock1.RemoteHost = "127.0.0.1"
Winsock1.RemotePort = 10101
Winsock1.Bind 10102
End Sub

Private Sub Winsock1_DataArrival(ByVal bytesTotal As Long)
Dim Daten As String
Dim Befehl As String

Winsock1.GetData Daten

Befehl = Left(Daten, 2)
Daten = Mid(Daten, 3)

Select Case Befehl
Case DOWNLOADSTART
SendData ECHO
Case DOWNLOAD
Put #DateiNr, , Daten
SendData ECHO
Case DOWNLOADENDE
Close DateiNr
Picture1.Picture = LoadPicture("lobbyzpos.jpg")
End Select

End Sub

Private Sub SendData(ByVal Befehl As String, Optional _
ByVal Text As String)

On Error Resume Next
Winsock1.SendData Befehl & Text
End Sub

File Transfer Using Tcp/ip
Hey there, I am new here and am looking for some code to transfer files via tcp/ip. I am working on a chat program that will allow multiple users to connect to a server. I would also like to be able to send files, pics, etc. Any help here would be greatly appreciated.

thanks,

jmax24

File Transfer..???!!!!!
Hi guys!!!

I'm new on all this VB stuff, but actually I want to write a program
which can send a text file into a Bar Code Terminal, this will be via
Serial Port..

I have read many post on the Forum..

I know that I have to use MScomm, to open and close the port.

But in some post I saw, that I have to put attemtion on the
File size, in order to do not overload the Buffer..

My first question, is how Can I send a text file via serial port.?
second, how can I check the size of the file?



Thanks in advance!!

Saludos desde Mexico!!!
/Camus

File Transfer
Hi,
Anybody can tell me how to do remote file transfer in Visual Basic


Transfer the data from the client at one site to the client at another site

any function that can be use?

File Transfer
Hello! Im coding a filemanager and I need some help.
The download speed is very slow.

The arrived packets are loaded into memory (4 kb/packet) and that also makes the program very slow. The packets should get into the file as soon as they arrived.
Can you help me to fix the code? Code (Client side):

Module :
Code:

Code:
Public CurrentDirectory As String
Public intFile As Integer
Public lngFileSize As Long
Public lngFileProg As Long
Public StrFileName As String
Public RequestedFile As String
Public tmpstring As String
Public screenshot As Boolean
-------------------------------------------------------------------


Private Sub ClientSck_DataArrival(Index As Integer, ByVal bytesTotal As Long)
Dim arrLines() As String
Dim i As Integer
Dim Lines As Long
Dim All_data As String
Dim Clean_Data As String
Dim Temp_Data As String
Dim NData() As String
Dim FileBuffer As String

ClientSck(Index).GetData All_data, vbString
NData = Split(All_data, "|")
Select Case NData(0)




Case "SEND_FILE": lngFileSize = Int(NData(1)): Filemanager.ProgressBar.Max = lngFileSize: Filemanager.lblPercent.Caption = "0%": intFile = FreeFile
lngFileSize = Int(NData(1)): Screencapture.PB.Max = lngFileSize
SckNumber = lstConTable.ListItems.Item(lstConTable.SelectedItem.Index)
If FileExists(StrFileName) Then
Kill StrFileName: DoEvents
End If
Open StrFileName For Binary Access Write As intFile: ClientSck(SckNumber).SendData "ACPT_FILE" & "|" & RequestedFile: lngFileProg = 0



Case "CHNK_DATA"
SckNumber = lstConTable.ListItems.Item(lstConTable.SelectedItem.Index)
All_data = Mid$(All_data, 11, Len(All_data) - 10)

If (lngFileProg + 4096) < lngFileSize Then
lngFileProg = lngFileProg + 4096
Filemanager.ProgressBar.Value = Filemanager.ProgressBar.Value + 4096
Filemanager.lblPercent.Caption = Format$((Filemanager.ProgressBar.Value / Filemanager.ProgressBar.Max * 100), "##.##") & "%"
Screencapture.PB.Value = Screencapture.PB.Value + 4096
Put intFile, , All_data
ClientSck(SckNumber).SendData "CHNK_FILE"

Else

All_data = Left$(All_data, lngFileSize - lngFileProg)
Filemanager.ProgressBar.Value = Filemanager.ProgressBar.Max
Filemanager.lblPercent.Caption = "100%"
Put intFile, , All_data
ClientSck(SckNumber).SendData "DONE_FILE"
Close intFile
Filemanager.ProgressBar.Value = 0
Screencapture.PB.Value = 0
Filemanager.lblPercent.Caption = vbNullString

If screenshot = True And StrFileName = App.Path & "CompressedSS.cmp" Then
screenshot = False
DecompressFile App.Path & "CompressedSS.cmp", App.Path & "Screencapture.bmp"
Kill App.Path & "CompressedSS.cmp"
Screencapture.Picture1.Picture = LoadPicture(App.Path & "Screencapture.bmp")
Screencapture.Picture1.ScaleMode = 3
Screencapture.Picture1.AutoRedraw = True
Screencapture.Picture1.PaintPicture Screencapture.Picture1.Picture, _
0, 0, Screencapture.Picture1.ScaleWidth, Screencapture.Picture1.ScaleHeight, _
0, 0, _
Screencapture.Picture1.Picture.Width / 26.46, _
Screencapture.Picture1.Picture.Height / 26.46
Screencapture.Picture1 = Screencapture.Picture1.Image

Else

statBar.SimpleText = "Status: Command Executed"
MsgBox "Download Finished" & vbNewLine & vbNewLine & "Total Recived: " & Format$(Filemanager.ProgressBar.Max, "###,###,###,###") & " bytes", vbOKOnly, "Nedladdnings status"

End If
End If

FTP File Transfer
Code:
With Inet
.URL = "ftp://" & GetSetting("POSSys", "Ftp", "Adrs", "")
.UserName = GetSetting("POSSys", "Ftp", "Id", "")
.Password = GetSetting("POSSys", "Ftp", "Pw", "")
.Execute , "CD POSUpdates/Sales/" & strCustomerId
End With
Do Until Inet.StillExecuting = False
Inet.Execute , "SEND " & Is_ExportFile"
Do Until Inet.StillExecuting = False
Inet.Execute , "SEND " & Is_ExportFile2"
Do Until Inet.StillExecuting = False
Inet.Execute , "SEND " & Is_ExportFile3"
Do Until Inet.StillExecuting = False

Anyone can explain this code to me, this code i get it from one of the web site and i dun understand the


Code:
"ftp://" & GetSetting("POSSys", "Ftp", "Adrs", "")

and what we should put into the .Username, .Password and .Execute

How To Transfer File In Lan
Hello.
Cuold somebody help me with winsock.
Do you know howq to transfer file from one computer to annother with winsock or with wb if i HAVE A CONNECTION

Two-Way File Transfer
want to delete this post

Bmp File Transfer
I want to know how to do a file transfer with image files, bitmap or JPEG using winsock.
Can someone please give me a good example on how to do this.

File Transfer!
I'm having some problems with file transfers, no matter what I try, or what code I use I can't seem to get it working. So I've come to you .
I'm gonna be using UDP for this file transfer so I need to know the basics of reading a file in chunks. Also, I need to know how to put the file back together in chunks.

Thanks for all your help, it's appreciated

File Transfer
I have a program that I need to write. I am just a very beginner in programing. I do not really know where to start. Any help would be greatly appreciated.

I need to transfer files from a network drive that is already mapped, (F:), copied to a local drive. (C:) at the beginning of the day. The end of the day, the files on (C:) will need to be moved back to (F:) , but during the day the files on (F:) may be updated, so only the newer files on (C:) will need to be transferred and the rest deleted.
If a file is open during any transfer the operation needs to be stopped until the file is closed.

•Would like the ability to change file paths and file extensions administratively
•One button transfer on both ways
•Need a clear button to delete files if no transfer is needed administratively
•Program needs to reside on network drive (F:) only a shortcut on local desktop
•Error Log
•Rename offending files

Thanks
Gerald

File Transfer
How can I put a binary file to a web server with the WinHttpRequest? I think it may be something like the following, but I'm not sure what parameter should be passed to the Send method. Is it a base64 encoded string of the binary file?

Thanks in advance
Andy

Dim req as WinHttpRequest

Set req = New WinHttpRequest
req.Open "PUT", host, False
req.Send myFile

Transfer File
i have this program, apparent run but when i check nothing happen. what's wrong? i have ftp server.
i have to create a file with the name ftp or something
or text1="ftp://147.20.10.1" ?

the file that i want to transfer is in the computer name op_20
and the address 147.20.10.1

the computer that receive the file is op_40 and the addre=150.20


give me an example to help me, Thanks





Inet1.Protocol = icFTP
Inet1.URL = "147.20.10.1" 'Text1.Text
Inet1.UserName = Text2.Text
Inet1.Password = Text3.Text
Inet1.Execute , "PUT " & "c:masteracepta.txt" & "rec.txt"



MsgBox "Transfer Complete"

File Transfer
Well i have the exact file path for the pictures, but i need to take the file name from the list above and exclude the description.

then i need to transfer each file to a specified folder. (same folder for all files)

how can i do this?

Thanks,
Philly0494

File Transfer Help
Im working on file transfer between client and server. This is the data arrival code on the server end:
vb Code:
Private Const chunk = 4096Dim numfile As Integer Private Sub Socket2_OnDataArrival(ByVal bytesTotal As Long) Dim NData() As StringDim data As String Socket2.GetData data NData = Split(data, "|")  Select Case NData(0) Case "<GH>"numfile = FreeFileOpen (Dir1.Path & "" & NData(1)) For Binary As #numfilefilecont = Input(chunk, #numfile)Socket2.SendData filecont Case "<NP>"If EOF(numfile) = True ThenClose #numfileSocket2.SendData "<EF>"Elsefilecont = Input(chunk, #numfile)Socket2.SendData filecontEnd IfEnd SelectEnd Sub 'And here is the code for the data arrival on the client side: Private Sub Socket2_OnDataArrival(ByVal bytesTotal As Long)Dim NData() As String Dim data As String Socket2.GetData data NData = Split(data, "|") Select Case NData(0) Case "<FD>"Dim fname As Stringfname = NData(1) Const ATTR_DIRECTORY = 16If Dir$(App.Path & "" & "Downloads", ATTR_DIRECTORY) = "" ThenMkDir (App.Path & "" & "Downloads")End If Open (App.Path & "Downloads" & fname) For Binary As #1Socket2.SendData ("<GH>|") & NData(1) Case "<EF>"Close #1Socket2.CloseSocket Text1.Text = Text1.Text & vbCrLf & "File Downloaded" Case ElsePut #1, , data DoEventsSocket2.SendData "<NP>"End SelectEnd Sub
Where I am getting the error is on the server side. Locally when I run both the client and server and transfer files it works just fine, but if I send the server to a buddy and we try a file transfer he always gets the error "Run-time error '52': bad file name or number". Instead of using numfile I have simply tried numbers (#1, #2) but he still gets the same error. I dont understand why it would work locally but not over the internet. I have taken out " Close #numfile " completely and obviously didn't receive an error. Anyone have any ideas? Any help would be greatly appreciated! thank you

File Transfer
Sorry for such a retarded question but is it possible to send a .bmp or any image file via file transfer only using API(like send) instead of a control?

File Transfer
Hey guys, whats up? I'm trying to create a file transfer program, but I am having problems with how to receive it. I do not want to use the common dialog to save the file, so I do not know how to save it in the server. I'm trying to follow this tutorial for file transfer, but I do not understand the server-side source. Please help me figure out how to save to file w/o common dialog. I just want it to be saved where ever the .exe is being ran from.

http://www.pscode.com/vb/scripts/Sho...59653&lngWId=1

Here is my source for the client. Thanks!


VB Code:
Option ExplicitPrivate Const chunk = 8000 Private Sub cmdSendFile_Click()Dim fnamea As StringDim fname As StringDim i As Integer For i = 1 To frmMain.Winsock1.uboundNext i fname = Text1.Textfnamea = GetFileName(Text1.Text) If Dir(fname) = "" ThenMsgBox "File Does not exist Exists", vbCritical, "Error!"Exit SubEnd If Dim temp As Stringtemp = "rqst" & fnamea 'frmMain.Winsock1(i).SendData temp 'sending file name of file End Sub Private Sub send(fname As String) Text1.Enabled = False Dim data As StringDim a As LongDim data1 As StringDim data2 As String  Open fname For Binary As #1 Do While Not EOF(1)data = Input(chunk, #1)Winsock1.SendData dataDoEventsLoop  Winsock1.SendData "EnDf"Close #1Text1.Enabled = True End Sub Function GetFileName(attach_str As String) As String Dim s As IntegerDim temp As Strings = InStr(1, attach_str, "")temp = attach_strDo While s > 0temp = Mid(temp, s + 1, Len(temp))s = InStr(1, temp, "")Loop GetFileName = tempEnd Function Private Sub cmdFindFile_Click() Dim strBuffer       As String    Dim intDemoFileNbr  As Integer    Dim strFileToSave   As String        On Error GoTo cmdSave_Click_Exit     With frmMain.CD1        .CancelError = True        .FileName = ""        .Filter = "All Files(*.*)|*.*"        .ShowOpen        frmFileXfer.Text1 = frmMain.CD1.FileName        If frmFileXfer.Text1 = "" Then        cmdSendFile.Enabled = False        Else        cmdSendFile.Enabled = True        End If    End With    On Error GoTo cmdSave_Click_Error        intDemoFileNbr = FreeFile    Open strFileToSave For Binary Access Write As #intDemoFileNbr    strBuffer = frmMain.txtLog    Put #intDemoFileNbr, , strBuffer    Close #intDemoFileNbr     Exit Sub    cmdSave_Click_Error:Exit Sub           cmdSave_Click_Exit:Exit SubEnd Sub Private Sub Text1_Change()        If Text1 = "" Then        cmdSendFile.Enabled = False        Else        cmdSendFile.Enabled = True        End IfEnd Sub

File Transfer
Hi there,
Does any1 know how to send file btween a server and client application:
Eg A client can connected to the server by winsock

Then when the server want to send file, he can open directory to search the file he wan to send and then send to the client.

Then the client can recevied it and he also can search the directory for him to save the recevied file.

Another thing is the server can send as many files whenever he like!!!

File Transfer
hello all,

I am making a simple stock control system, using ADO and VB6
My client have a laptop and wants to call the computer in company while he is out and get the lastest copy of the .mdb File so he can work ( Just reporting) to the last point.


Do any1 know how can i invoke file transfer from pc to another pc during the fax modem from inside the vb.

I just want to make a replica from the dbase file though a hyper terminal or something

Thanks in advance for all your help

BST RGDs

File Transfer
How do you transfer files from one computer to another computer in a network using winsock?

Transfer File
whats wrong with this program transfer nothing
i have ftp server




Inet1.Protocol = icFTP
Inet1.URL = "147.10.10.1" 'Text1.Text
Inet1.UserName = Text2.Text
Inet1.Password = Text3.Text

Inet1.Execute , "PUT " & "c:qbasicace.txt" & " " & \maracepta.txt"

Transfer File
is this program have any problems or supose to runs well?

Inet1.Protocol = icFTP
Inet1.URL = "147.10.20.1" 'Text1.Text
Inet1.UserName = Text2.Text
inet1.Password = Text3.Text
Inet1.Execute , "PUT " & "c:qbasicin.txt" & " " & "louisace.txt"

MsgBox "Transfer Complete"

Transfer File
i run this program but no transfer nothing
whats wrong, i have ftb server



Inet1.Protocol = icFTP
Inet1.URL = "147.10.10.1" 'Text1.Text
Inet1.UserName = Text2.Text
Inet1.Password = Text3.Text
Inet1.Execute , "PUT " & "c:qbasicace.txt" & "\147.10.10.1acepta.txt"

MsgBox "Transfer Complete"

DAP File Transfer
hi guys,

what the principle behind softwares like DAP, flashget?

I am interested in transfering files (100KB-500kb) over the network/internet using winsock

What I want is how these softwares break the file to be transfered into several parts and transmit them simulatneously and thus make the transfer really fast.

Anyone, done it before?

Thanks for sharing ur ideas.

IP To IP File Transfer
I have a simple chat program which uses the winsock control.

It works pretty well, and its pretty snappy overall. But I want to add a file send option .. and I'm wondeing the best and fastest way to send a file across the net is.

At the moment I have rigged up a system of shuttling chunks of data like a chat relay .. but its pretty slow.

Any suggestions?

File Transfer
hi,
I want to download few files(say 5 jpg files) of a directory from server when client is loaded and save these in clients local directory. Can you please tell me how to download few files at once when form is loaded?? It will be great helpful to me if u tell with sample codings.

Thanks,
Murugan.

UDP File Transfer
Hi ppl,

Having lots of trouble transfering files using winsock in UDP mode. Transfering a 20kb file. Can someone please help me with code or a link ??

File Transfer
I am trying to download a file from a HTTP site and am having a few problems.

The file I am trying to download is and *.exe the filename differs from day to day but the extension stays the same.

What would be the best way to do this????


Regards


Matt

File Transfer
Well, my last question on this flopped, so I will try it from a different angle.

Could anyone recommend a control or procedure or API (with code example please) that I could use in VB to transfer text files from a mainframe computer to my local PC ?

Thanks for any information.

File Transfer
I need to transfer 1 file from a computer on a weekly via the internet. The file isn't big, usually less than 200kb. Anyone have any ideas? I read about the Inet and Winsock. I have one app that uses Winsock for sending messages between computer, can I use Winsock for this? I need help, thanks.

File Transfer ????
hey people........ i just cannot find a program which will do the followin for me.......(help desperately reqd.) .... ------->

i have the same prog loaded on 2 machines on a network.now what i require is to transfer files (any type and size to and fro)..... i am struggling with winsock.but cant seem to get a start......moreover how do i handle proxy servers.....winsock progs just hang up when i give out of network IPs.............

i hope i make myself clear....

waiting............

&lt; FTP File Transfer From IBM To PC &gt;
Looking for sample code on moving a file from an IBM queue to a PC and vice versa. [ FTP ]

Help Again File Transfer
how do programs such as BO2k, netbus, sub7 etc. set up file transfer between their client and server, as it seems to be quite reliable?

File Transfer?
Can someone give me some information, and sample code for a situation where a user request a file and another user sends them it?

Thanks,
MasterGoon

Is It Possible To Transfer File...
Hi there!
Is it possible to transfer files between the computers in LAN using winsock or Inet? If so, please help me. (I have established the winsock connection between the computrs already. I have used computer's name as the host ip)

Thanx in Advance...

File Transfer
Ok I asked a whlie ago how to send files
Fine go that it did work on my machine
But when I send it over a network ti only send half the file.
Why
please help me

File Transfer
Is it possible to make ProgramA sned a copy of programB to 50 different IPs. If so, what would come up on the screen of people who are recieving programB.

File Transfer
Hi everyone, i am a new member here.

Lately, i have problem doing my college's project that is to transfer file using Visual Basic 6.0 through the parallel port. I will be very appearciated if anyone could provide me the source code.

Please email me to URL if anyone has any information of doing this.

Thanks for reading! =)

File Transfer
I am trying to write a serial comminucation vb program.I did sending and receiving texts part but the big problem is file transfers.Any help?

URL

Ftp File Transfer
Hi FTP Gurus..

I have a application through i download some .txt files from server.
Actually files transfer without any error but the content inside those
files is missing. I am using ftp related API's

please re back..

File Transfer
Hi Everyone,

I was wondering if anyone would know how to transfer a file withinvisual basic, from a pc up to a web site. It would be a text file, ifthat has anything to do with it.

I would really appreciate the help if anyone knew how to do this. ThankYou!!!

Thanks,
Laurie

File Transfer
ITtoolbox Portal for Visual Basic - http://visualbasic.ittoolbox.com/

Hi Friends

Is there any limit to the size of file which can be copied from one
system to another using dial up network. Is it a good idea to
use FTP instead of dial up network to transfer files.
Can someone suggest an easy way.

Regards

Abizar
email: email@removed
ext.: 206



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~

File Transfer
Hi,

Next week Im inserting a program for a customer that gathers a file from a different computer on the network.

filename = "G:Filename"

I have never done this before, and was just wondering if anyone could see a problem waiting to happen. Are there any special dll's I need to get access across a network.

Or do I need to change the code, eg include the Computer name.

I will be out on site and hate realising I need something thats lying in the office. So any help would be great, Cheers.

File Transfer
Hi All
I have to make an application which will select a list of files from a list box then send to another place using FTP how can I achive my goal ?
If anyone of you have any idea please post me on the same.
thanks a lot
Joshi K

Copyright © 2005-08 www.BigResource.com, All rights reserved