91 Topics
| |
file transfer can be easily done with python xmlrpc. it is very simple and spans a very few lines of code.. :) pls [URL="http://1024bitez.blogspot.com/2011/02/simple-ftp-program-with-python-xmlrpc.html"]check this link to see how i done it...[/URL] | |
Hi everyone. I'm having a little bit of trouble getting a piece of code to work correctly here. Here is the code. [CODE]] filename = "./" + `random.randrange(0,9999999999999999999999999999999999)` + ".txt" f = open(filename, 'w') f.write(`data`) f.close f = open(filename,'rb') ftp = FTP('ftphost.com') time.sleep(5) ftp.login('user,pass') time.sleep(5) ftp.storbinary('STOR `filename`', f ) [/CODE] … | |
Hello! I'm new here... and I'm having trouble trying to download and upload files from an ftp server.... Btw this is not for homework! I'm trying to help a professor with this but I'm stuck!... Help?? :/ | |
Hello, I have folder on remote FTP server that is updated with more than XML file with different names in asynchronous (not scheduled time), I want to make a PHP application that fetch any new XML file arrives at the FTP automatically, so how can I make the PHP application … | |
Hello all, I am working on a project where i save client machine path into my database. And if end user clicks download files button, then the files from ftp server have to be download in client machine directly. My application resides in web server. Please give me some suggestions … | |
Hi, I need to connect to ftp and get the names of the files... But am getting an UnknownHostException when i gave the ip.. Following is my code [CODE]import org.apache.commons.net.ftp.FTPClient; import org.apache.commons.net.ftp.FTPFile; import org.apache.commons.io.FileUtils; import java.io.IOException; public class FtpTest { public static void main(String[] args) { try{ FTPClient client = … | |
Hello everyone! I am a Software Testing Assistant for a company that develops in-house software and I was needing some assistance in finding test cases surrounding connectivity to a FTP Server that is being connected to a secured network and a remote laptop. Any help would be greatly apperciated! Thanks!! … | |
I am trying to upload images to the ftp. I need to have it in a compressed folder called by a specific name and then upload that folder to a specific directory. Each time I try, I get an error The remote server returned an error: (550) File unavailable This … | |
Hi, I would like to FTP a file that only part of the filename is known. The name is something like “ClimateData2010042207XXXX.xls” performing the following does not work: [CODE] FTPClient client = new FTPClient(); FileOutputStream fos = null; client.connect("ftp.domain.com"); client.login("admin", "secret"); String filename = “ClimateData2010042207*.xls”; fos = new FileOutputStream(filename); client.retrieveFile("/" … | |
Hello, I currently have been coding this. [CODE]Imports System.IO Imports System.IO.Compression Imports System.Windows.Forms Imports System Imports Ionic.Zip Imports System.IO.Path Imports System.Net.WebException Imports System.Net Imports System.Text Imports System.Net.Sockets Imports System.Security.Cryptography Public Class Main ' FTP upload Private Sub FTPU() If ListBox2.SelectedItem = Nothing Then MsgBox("Select world.") Else Dim clsRequest As System.Net.FtpWebRequest … | |
i want to download a file from ftp to my local machine using java code. Can anyone help me out pls?? n provide the jar file used in the code. | |
While connected to a public wireless network at a hotel, my laptop lost its ability to browse websites via HTTP. The problem persisted when I returned home using my private wireless network. However, I noticed I can browse sites via HTTPS and FTP. I can even ping external websites in … | |
Hello, I've been migrating a site from one server to another. Both servers are running Plesk. There was no migration manager for the new server, and no backups available for the old server, so we chose to transfer the files by FTP. The MySQL database has been transferred by a … | |
Hi im new to the forum & c++. I just want to upload a txt file to a FTP server using winsock. Im writing a c++ application. Application makes a socket connection & communicate with FTP server. I can provide FTP commands & server responses well. I want to know … | |
Not sure if this is the right place to post this. I've built a number of websites but have just now been asked to provide a password protected page that allows different customers FTP access to download files. I feel dumb. Having never done anything like this before. Obviously I … | |
HI, I want to transfer a text file from local machine to linux server using ftp in Visual Basic 6.0. Can you please share your thoughts on how to acheive this? | |
Hi, I'm trying to write a shell script that do ftp and download file periodically, this script should be called by a daemon running in the background. the shell script "script.sh" is as follows: [icode] yafc [url]ftp://test:test@192.168.1.225:21[/url] < commands [/icode] and the "commands" files is [icode] d Root/md5* / quit … | |
Hi all, I need to connect through ftp on some server to do some changes but I think that they use some rules to avoid connection from other foreigner countries (is it possible in your opinion). Basically I receive the 510 error with login and password incorrect but if my … | |
Hi there. I am looking to create a script in php that will get an image from an upload form and upload it to a site using ftp. It needs to save the original image in the site images/full/ and also create a proportional image thumbnail (100x100) in images/thumb/ What … | |
I have written FTP server in C# which is working quite fine with client on one machine, but when i try to send file to server from other PC, Exception occurs, [B]Input string was not in correct format[/B] [CODE]double FileSize = double.Parse(System.Text.Encoding.ASCII.GetString(downBuffer, 0, bytesSize));[/CODE] | |
I've created an SSIS package where I have an FTP Task inside a ForEach Loop container. I am trying to loop through each file in the particular folder and send it to the FTP site. I am sure that I got the For Each Loop working, as the error message … | |
Hi All, This is the first time I'm working with FTP functions in PHP. I have to create a link to send a [B].sql[/B] file to another server using its' FTP logins. I used ftp_put() function in the following way [CODE]ftp_put($connection, $file_name_1, $file_name_2, FTP_ASCII);[/CODE] It works perfectly in my [B]localhost[/B]. … | |
Hi. I'm fairly new to VB. I've made a handful of small programs and followed a few tutorials, but this is really the most complex program I've made so far. (Just a heads up that I may be missing something fairly obvious :$) I'm working on a VB program which … | |
Hi, I am making an online page for a company so that users can upload and download files from the company's server. Now, as every ASP .NET developer knows, the ASP .NET framework includes a file upload control for users to upload files to the server. The problem with this … | |
Could some one please tell me if my analysis about the FTP pasv and port modes is right. Let there be a dynamic firewall that protects the network 136.142.117.0/24. It blocks most incoming TCP connections but allows incoming FTP requests to port number 21 and destination IP address 136.142.117.11. Identify … | |
Hi i want to compress the file on the file during FTP file download. Is it possible to do that. I have an application that downloads the files from remote FTP server as windows forms application using VB.net Please help Thanks | |
hey guys, first post. I have a program that takes a file from a windows box, and FTP's it to a unix/linux box. The program works fine, however there is something i want to add to it. I want the program to send 2 commands to the unix box while … | |
Hi I am developing FTP Clinet application that downloads files from the specified server i sent the LIST command and server returned a list of file names in following order: -rw-r--r-- 1 devubas devubas 24 Sep 5 2008 .bash_logout now the problem is how do i extract the filename fom … | |
Hi guys, I am writing a program in VB.net for a windows mobile device, the end result is an image in a picturebox, this should be then uploaded to an an FTP server. I have tried the System.Net.ftpweb.... library but it doesn't seem to work with the micro framework. does … | |
Hello everyone! I have a problem . How to maintenance the file's last modified time when upload it to FTP server? Please help me.Thank you~ |
The End.