if self.ftp is None:
self.ftp = FTPOperation(self.request.session['proxy'], self.chunk_size)
- self.url = 'gsiftp://' + form.cleaned_data['host'] + os.path.join(form.cleaned_data['path'], self.file_name)
+ self.url = 'gsiftp://{}/{}'.format(form.cleaned_data['host'],
+ os.path.join(form.cleaned_data['path'], self.file_name))
self.tmp_url = self.url + '.part'
self.ftp.put(self.tmp_url)